package edu.gatech.cs2340.OregonTrail.EventSystem;

import java.util.Map;

import edu.gatech.cs2340.OregonTrail.Item;

public class AtShopEvent extends GUIEvent{
	private Map<Item, Integer> prices;
	private Map<Item, Integer> playerStock;
	private int currentFunds;
	private int currentWeight;
	
	public AtShopEvent(Object source, Map<Item, Integer> prices, Map<Item, Integer> playerStock, int funds, int weight){
		this.source = source; 
		this.prices = prices;
		this.playerStock = playerStock;
		this.currentFunds = funds;
		this.currentWeight = weight;
	}
	
	/**
	 * @return the currentFunds
	 */
	public int getCurrentFunds() {
		return currentFunds;
	}

	/**
	 * @return the currentWeight
	 */
	public int getCurrentWeight() {
		return currentWeight;
	}
	
	public Object getSource() {
		return this.source;
	}
	
	public Map<Item, Integer> getPrices(){
		return prices;
	}
	
	public Map<Item, Integer> getPlayerStock(){
		return playerStock;
	}

}
